package com.xu.dao;

import com.xu.bean.User;

import java.util.List;

public interface UserDao {
    /**
     *
     * @param name
     * @param password
     * @return
     */
    User login(String name,String password);

    /**
     *
     * @param name
     * @param password
     * @return
     */
    boolean register(String name,String password);

   List<User> getUser();
}
